SimplePay\Core\StripeConnect\ApplicationFee S

Total Complexity 49
Dependencies 3
Dependents 3
Total lines 573
Lines of code 317
Logical lines of code 108
Comment lines 179
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
remove_application_fees()
A
36 12 90
has_application_fee()
A
51 10 27
maybe_show_application_fee()
A
39 6 75
is_new_lite_connection()
S
58 5 17
queue_application_fee_removal()
S
59 3 16
is_subscription_active()
S
58 2 16
get_application_fee_transactions()
S
55 1 23
maybe_add_one_time_application_fee()
S
64 2 10
maybe_add_subscription_application_fee()
S
69 2 7
get_subscribed_events()
S
64 1 11
__construct()
S
77 1 4
get_application_fee_percentage()
S
82 1 3
get_application_fee_amount()
S
78 1 3
is_account_country_supported()
S
67 1 8
get_unavailable_country_codes()
S
71 1 7